﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace COVID_19_LiquidFillUI.Migrations
{
    public partial class changeST_Radius2MinMax : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "ST_Radius",
                table: "MDrawCircles",
                newName: "ST_RadiusMin");

            migrationBuilder.AddColumn<double>(
                name: "ST_RadiusMax",
                table: "MDrawCircles",
                type: "REAL",
                nullable: false,
                defaultValue: 0.0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ST_RadiusMax",
                table: "MDrawCircles");

            migrationBuilder.RenameColumn(
                name: "ST_RadiusMin",
                table: "MDrawCircles",
                newName: "ST_Radius");
        }
    }
}
